package cn.iocoder.yudao.module.shop.dal.dataobject.order;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDateTime;

@TableName("shop_order_item")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShopOrderItemDO extends BaseDO {
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 订单号
     */
    private Long orderId;
    /**
     * 项目id
     */
    private Long optItemId;
    /**
     * 数量
     */
    private Integer count;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
